package com.itbaizhan.mongotest.service;

import com.itbaizhan.mongotest.entity.Orders;

import java.util.List;

public interface OrderService {

    /*按订单名称查询*/
    List<Orders> getOrdersByName(String name);

    /*MongoRepository 方式*/
    List<Orders> getOrdersByName2(String name);
}
